import { defineStore } from "pinia";
export const useStore = defineStore("main", {
  state: () => {
    return {
      // 首页显示文本
      text: "知识点抽取",
      chap: "",
      apiBaseURI: "http://111.63.183.17:8081/pyapi",
      extractURI: "http://10.21.22.107:3000",
      // apiBaseURI: "http://203.176.95.95:5000",
      elementExtraction: {},
    };
  },
  actions: {
    caseSearchResultTempFun(value) {
      this.caseSearchResultTemp = value;
      this.caseSearchResult = this.caseSearchResultTemp;
    },
  },
});
